小编Sni*_*ker的帖子

如何使用.Net Core nuget包中的可执行文件?

我目前正在尝试将ILDAsm软件包集成到我的.Net Core项目中,该项目包含ildasm.exe我想从我的应用程序调用的可执行文件.nuget包是为.Net Core和所有运行时(linux,windows,osx等)明确制作的.显然在安装软件包之后没有为我的项目添加引用,但是我也不知道我必须做什么来使用软件包(什么是/将是路径ildasm.exe?).

为了清楚起见,我希望在我的应用程序运行时使用我的代码中的可执行文件而不是构建.

.net c# nuget .net-core

4
推荐指数
1
解决办法
209
查看次数

在我的.Net Core 2.0项目中,使用.Net FW软件包代替.Net Standard(警告NU1701)

我在我的.Net Core 1.0项目中使用了nuget包sqlite-net-pcl,它没有任何问题(使用了.Net Standard 1.1版本的软件包).现在,我将此项目升级到.Net Core 2.0,然后我突然收到这些构建警告:

1>C:\Projects\Project.csproj : warning NU1701: Package 'SQLitePCLRaw.lib.e_sqlite3.linux 1.1.5' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
1>C:\Projects\Project.csproj : warning NU1701: Package 'SQLitePCLRaw.lib.e_sqlite3.osx 1.1.5' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
1>C:\Projects\Project.csproj : warning NU1701: Package 'SQLitePCLRaw.lib.e_sqlite3.v110_xp 1.1.5' was restored using '.NETFramework,Version=v4.6.1' instead of the project …
Run Code Online (Sandbox Code Playgroud)

.net c# nuget .net-core

3
推荐指数
1
解决办法
751
查看次数

标签 统计

.net ×2

.net-core ×2

c# ×2

nuget ×2