packagereference Questions
2
I have the following in my NetStandard Project
<ItemGroup>
<PackageReference Include="MyReference" Version="1.0.*" />
</ItemGroup>
When I change it to use the wildcard (instead...
azure-devopsazure-pipelinesazure-pipelines-release-pipelineazure-pipelines-build-taskpackagereference
Monstrance asked 14/9, 2018 at 0:42
3
Solved
For some reason in my console app, couple of the reference that I installed thru nuget shows the blue nuget icon. I can build my project locally, but not after I deploy my project to cloud. The err...
Joashus asked 24/5, 2018 at 1:47
1
Consider a .NET Core application (A), which references a third-party nuget package (B) using the PackageReference model. Package B has it's own dependency on another package (C):
A -> B -> C...
Breann asked 3/12, 2019 at 10:35
3
Solved
I am migrating an old style MsBuild csproj project to using PackageReference format and have run into a problem with transitive dependencies.
Consider the following
Project A reference NuGet packa...
Hintze asked 6/9, 2018 at 15:27
3
Solved
Under .NET's older packages.config system for NuGet, I could constrain the possible versions of a package that are considered when packages are updated by using the allowedVersions attribute on the...
Dell asked 21/3, 2018 at 5:10
2
Solved
I use Visual Studio 2022. There I have seen, that it stores the NuGet-Packages-Reference in the csproj-File as PackageReference.
Now I am searching for the nupkg-files. Where are they stored in Vis...
Tropophilous asked 30/4, 2022 at 15:34
2
Solved
I have a nuget package that includes an XML documentation file.
packages/MyPackage.1.0.0/lib/net472/MyPackage.xml
However when I build my project, I want to include this xml file in the output.
...
Dissepiment asked 8/8, 2019 at 12:5
1
After upgrading our projects to PackageReferences I am facing the following issue on the build server (on-premise AzureDevOps agents)
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Xaml...
Zimmer asked 14/10, 2019 at 14:36
2
Solved
Background
I'm working on a big project with multiple large solutions. All in all we have over 400 C#-Projects. In the past we used Nuget with the packages.config file for our dependencies. Now we...
Crane asked 11/9, 2018 at 9:19
1
Solved
I have the following entry in Package.props file on solution level:
<ItemGroup Label="My Label" Condition=" '$(SHFBSchemaVersion)' == '' ">
<PackageReference Include="StyleCop.Analyzers"...
Anything asked 25/3, 2020 at 15:30
2
Solved
I try to make a NuGet package from a .NET 4.7.2 class library (VS2017), but the resulting NuGet package surprisingly shows no dependencies (which is an error).
My setup is like this:
My class li...
Oaf asked 13/8, 2018 at 12:50
1
So I migrated from nuget packages.config to PackageReference and found out there were some compatibility issues. I reverted the project to its working state (before the PackageReference) and now my...
Long asked 15/11, 2018 at 0:45
2
When using MSBuild.ILMerge.Task referenced via packagereference the following error came up:
error MSB4018: The "MSBuild.ILMerge.Task" task failed unexpectedly.
error MSB4018: System.IO.FileNotFou...
Burier asked 6/8, 2018 at 17:9
3
Solved
I have some requirement to set Copy Local to false for the NuGet dll. Before that, I used the package.config format and everything worked fine. After migration to Package Reference format, I cannot...
Metzler asked 11/3, 2019 at 11:41
0
We are upgrading a project from packages.config to the PackageReference structure. One of the packages referenced has DLLs in subfolders like:
lib\net45\some.dll
lib\net45\xxx\other.dll
When re...
Buttonball asked 9/4, 2018 at 8:55
0
How can I get PackageReference packages to be included with the ClickOnce automatically?
I am trying to convert a ClickOnce application from packages.config to use PackageReferences as I have a go...
Telekinesis asked 13/10, 2017 at 19:26
1
© 2022 - 2024 — McMap. All rights reserved.