Comments (8)
No more error, a nice warning instead.
EXEC : warning : No library files (*.dll) could be found for: Microsoft.NETCore.Platforms/3.1.0!
Thanks !
from vst.net.
I actually found in the code that netcoreapp3.1
is hardcoded, which clarifies my issue.
I wonder, could this be solved by using dotnet publish instead? That should gather all the dependencies just fine, and then vstnet publish could do the renaming part.
from vst.net.
The problem is that the Interop projects do not play nice with dotnet publish. The vstnet cli is a band aid to fix that. If the C++/CLI projects targeting .NET core (or .NET 5.0) start behaving as expected, I think vstnet cli can be removed.
For now VST.NET is fixed to netcoreapp3.1
.
from vst.net.
Since the official release (2.0.0) it has been migrated to .net5.0
.
from vst.net.
I have this problem also, in a project referencing VST.NET2-Host package version 2.0.1.
It's a WinUI 3 project targeting net5.0-windows10.0.18362.0
Copying dependencies to: C:\Users\frede\source\repos\FluentMusic\FluentMusicWinUI\FluentMusicWinUI\bin\x64\Debug\net5.0-windows10.0.18362.0\deploy
1>Command `vstnet publish C:\Users\frede\source\repos\FluentMusic\FluentMusicWinUI\FluentMusicWinUI\bin\x64\Debug\net5.0-windows10.0.18362.0\FluentMusicWinUI.dll -o C:\Users\frede\source\repos\FluentMusic\FluentMusicWinUI\FluentMusicWinUI\bin\x64\Debug\net5.0-windows10.0.18362.0\deploy` encountered an error.
1>System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\frede\.nuget\packages\Microsoft.NETCore.Platforms\3.1.0\lib\net5.0\x64'.
1> at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
1> at System.IO.Enumeration.FileSystemEnumerator`1.Init()
1> at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
1> at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
1> at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
1> at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
1> at Jacobi.Vst.CLI.FindFiles.GetFilePaths(TargetName targetName)
1> at Jacobi.Vst.CLI.PublishCommand.CopyDependencies(String depsFile, ProcessorArchitecture processorArchitecture)
1> at Jacobi.Vst.CLI.PublishCommand.Execute()
1> at Jacobi.Vst.CLI.Program.Main(String[] args)
from vst.net.
I have this problem also, in a project referencing VST.NET2-Host package version 2.0.1.
It's a WinUI 3 project targeting net5.0-windows10.0.18362.0Copying dependencies to: C:\Users\frede\source\repos\FluentMusic\FluentMusicWinUI\FluentMusicWinUI\bin\x64\Debug\net5.0-windows10.0.18362.0\deploy 1>Command `vstnet publish C:\Users\frede\source\repos\FluentMusic\FluentMusicWinUI\FluentMusicWinUI\bin\x64\Debug\net5.0-windows10.0.18362.0\FluentMusicWinUI.dll -o C:\Users\frede\source\repos\FluentMusic\FluentMusicWinUI\FluentMusicWinUI\bin\x64\Debug\net5.0-windows10.0.18362.0\deploy` encountered an error. 1>System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\frede\.nuget\packages\Microsoft.NETCore.Platforms\3.1.0\lib\net5.0\x64'. 1> at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) 1> at System.IO.Enumeration.FileSystemEnumerator`1.Init() 1> at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options) 1> at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized) 1> at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options) 1> at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) 1> at Jacobi.Vst.CLI.FindFiles.GetFilePaths(TargetName targetName) 1> at Jacobi.Vst.CLI.PublishCommand.CopyDependencies(String depsFile, ProcessorArchitecture processorArchitecture) 1> at Jacobi.Vst.CLI.PublishCommand.Execute() 1> at Jacobi.Vst.CLI.Program.Main(String[] args)
Did you update .Net 5 correctly for your project or you just start new .Net 5 project with VST.Net 2?
For me after upgrade project to .Net 5 and replace VST.Net 1 by VST.Net 2 it working perfectly!
from vst.net.
I have created a new project that target net5.0-windows and that use wpf, added VST.NET2-Host package and the build works as expected.
Then, I added the package NAudio version 2.0.0 and the error arise.
The problem seems to be related with the use of the NAudio package that somehow interfere with the vstnet publish command.
Copying dependencies to: C:\Users\frede\source\repos\TestVstWpfApp\TestVstWpfApp\bin\x64\Debug\net5.0-windows\deploy
1>Command `vstnet publish C:\Users\frede\source\repos\TestVstWpfApp\TestVstWpfApp\bin\x64\Debug\net5.0-windows\TestVstWpfApp.dll -o C:\Users\frede\source\repos\TestVstWpfApp\TestVstWpfApp\bin\x64\Debug\net5.0-windows\deploy` encountered an error.
1>System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\frede\.nuget\packages\Microsoft.NETCore.Platforms\3.1.0\lib\net5.0\x64'.
1> at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
1> at System.IO.Enumeration.FileSystemEnumerator`1.Init()
1> at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
1> at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
1> at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
1> at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
1> at Jacobi.Vst.CLI.FindFiles.GetFilePaths(TargetName targetName)
1> at Jacobi.Vst.CLI.PublishCommand.CopyDependencies(String depsFile, ProcessorArchitecture processorArchitecture)
1> at Jacobi.Vst.CLI.PublishCommand.Execute()
1> at Jacobi.Vst.CLI.Program.Main(String[] args)
from vst.net.
VST.NET v2.02 should fix this.
Let me know if there are any problems.
from vst.net.
Related Issues (20)
- Single file deployment HOT 3
- Interop code in C# HOT 3
- vst.net plugin throws ArgumentException when receiving MIDI events HOT 1
- How to use locally compiled version of Jacobi.Vst.Plugin.Interop HOT 3
- Could not find nuget package location. HOT 5
- `Jacobi.Vst.Samples.Host` error. HOT 5
- How Jacobi.Vst.Host.Interop cancels its dependence on `WinForm`? HOT 6
- Problem loading secondary dependencies from deploy/bin HOT 2
- TimeInfo properties not changing specifically in FL Studio HOT 3
- compiling issues HOT 3
- unhandled exception from Jacobi.Vst.Host.Interop on ProcessReplacing HOT 1
- Loading a managed plugin in a managed host gives error HOT 1
- Discord invite link is stale HOT 2
- .NET6 Support HOT 2
- AudioProcessor in Template does not deploy HOT 1
- Jacobi.Vst.Samples.Host loading reacomp-standalone.dll results in NullReferenceException at HostCommandStub.HostCommands.GetCurrentPluginID() Line 203 HOT 3
- PluginCommandStub.Commands.EditorGetRect(out Rectangle wndRect) seems to always return Rect(X=0, Y=0, Width=400, Height=300) HOT 2
- Sending several simultaneous events to VST HOT 4
- Vst.net compatibility problem with Cantabile? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vst.net.