nuget-package

CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file

淺唱寂寞╮ 提交于 2020-01-16 13:46:55
问题 net migrating from java in selfstudy mode.(visual studio 2019 community & SqlServer 2017 64bit community edition installed). I was following the instructions on this tutorial link When I executed the step of initial migration step I encountered this error when i run update-database I'm encountering this error. I know its related to database access/ configuration problem I'd really appreciate the correct way to provide it to Package Manager Console. I've added the allow service to interact

Migrating Polymer project .5 to 1.0 error

半世苍凉 提交于 2020-01-16 05:53:05
问题 I am trying to migrate my project from polymer .5 to polymer 1.0. I have installed new version of polymer library, iron element & paper element. But I am getting following error: polymer-micro.html:63 Uncaught TypeError: prototype.registerCallback is not a function This page does not have any code like: Polymer('shape-menu',... Also, I have noticed that directory structure remains same for core elements. It did not changed to iron/ neon elements. So my code uses the same line to import htmls.

Output Directory of native dll bundled with NuGet

房东的猫 提交于 2020-01-15 23:02:10
问题 I am trying to build a NuGet package that includes native DLLs which are to be placed in the output folder when a project uses the package. I have tried to use the several suggestions from this question, but I am always running in the same problem. My current NuGet package layout is like this: \build packageId.targets file1.dll file2.dll \lib \netstandard1.4 assembly.dll The contents of packageId.targets is: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http:/

Nuget Package - Referenced Assemblies Are Not Being Included As Project References

99封情书 提交于 2020-01-14 17:52:36
问题 Before I go into the problem, let me quickly explain my goal: I have a template project that I use for each website that I build, which includes base classes, common pages (e.g. contact us), useful utilities (exception logging), etc. I want to make this template reusable and updatable. Previously I was using a Visual Studio Project Template, but I had issues in referencing all of the assemblies I needed, so I turned to Nuget. I was under the impression that this would be easier, and also

Nuget Package - Referenced Assemblies Are Not Being Included As Project References

我只是一个虾纸丫 提交于 2020-01-14 17:51:32
问题 Before I go into the problem, let me quickly explain my goal: I have a template project that I use for each website that I build, which includes base classes, common pages (e.g. contact us), useful utilities (exception logging), etc. I want to make this template reusable and updatable. Previously I was using a Visual Studio Project Template, but I had issues in referencing all of the assemblies I needed, so I turned to Nuget. I was under the impression that this would be easier, and also

Is it OK to delete a .nupkg file?

前提是你 提交于 2020-01-14 14:29:11
问题 I'm new to NuGet -- just started using it and got myself a copy of WatiN. I'm trying to trim down the size of the folder that was pulled back before I put it into version control. I noticed that WatiN.2.0.50.nupkg is about 12mb. I noticed from this link that the .nupkg is essentially a compressed version of the package contents. Is it OK to delete it, or might doing so cause any issues in the future? 回答1: If you delete it we can't update/uninstall since we use that file as a record of what is

Fix For “Package xxx is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0)”

怎甘沉沦 提交于 2020-01-14 12:47:46
问题 I created a blank solution with framework 4.6.1 and add a project core 2.0. This error show in output for many package 'Package xxx is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0)'. How Can I Fix it? 回答1: Couple of things you could try to make it work, provided the packages that you are trying to install really do support .NET CORE 2.0 . Make sure your VS is using NuGet 4.3 or greater. Within Visual Studio, go to Help -> About Visual Studio -> Notice the Nuget version and

Should a library explicitly target .NET Core 3?

大憨熊 提交于 2020-01-13 05:00:28
问题 With the release of .NET Standard 2.0, it's advised to target .NET Standard 2.0, even if you target 1.x already. https://docs.microsoft.com/en-us/dotnet/standard/net-standard: However, targeting lower .NET Standard versions introduces a number of support dependencies. If your project targets .NET Standard 1.x, we recommend that you also target .NET Standard 2.0. This simplifies the dependency graph for users of your library that run on .NET Standard 2.0 compatible frameworks, and it reduces

azure functions with nuget packages that have different versions of the same dependency

Deadly 提交于 2020-01-12 14:28:11
问题 I am writing an Azure Function that is using 2 nuget packages (A and B) from my private feed. Package A uses Dapper version 1.50.2 directly and package B uses Dapper.SimpleCrud 1.13.0 which has a dependency on Dapper version [1.42.0, 2.0.0). Within the Azure Function I have added project.json where I specify package A and B and their versions. When I look at the installed packages within the azure function I see Dapper 1.42.0 and 1.50.2 are both installed. when I attempt to call methods in

Adding reference to another project from visual studio code

给你一囗甜甜゛ 提交于 2020-01-12 04:46:07
问题 If a library (eg, on github) doesn't distribute itself via a nuget package, I'd have to manually include it as a reference, correct? I see a lot of reference posts for how to add a reference to a project for Visual Studio, but I can't seem to figure out how to do it on Visual Studio Code. In this case, I've downloaded the library's zip, and moved the expanded folder into my project, and then tried using <namespace> , which did not work. EDIT: I noticed that this downloaded zip contained a