Questions tagged [dotnet-sdk]
81 questions
0
votes
1 answer
How to add RootNamespace attribute to project without assemblyinfo.cs to fix localization?
I have an asp.net core project with the following properties:
filename: WebApi.csproj
Rootnamespace: Cmp.WebApi.csproj
AssemblyName: (not set)
I'm trying to use asp.net localization, but the resourcemanager cannot locate the language…

sommmen
- 6,570
- 2
- 30
- 51
0
votes
1 answer
PlannerTaskDetail's GetETag returns null. If-Match header not working
I'm trying to update task details:
var t = await graphClient.Planner.Tasks[task.Id].Details.Request().GetAsync();
var ETag = t.GetETag();
However GetETag() returns null.
The ETag is part of the AdditionalData dictionary, so I can extract it…

reescal
- 1
- 2
0
votes
1 answer
HelloSign API - How to create dynamic document without inbuilt template
I want to Create embedded Hello Sign signature document with Custom fields, but without using a Template. Is there any way to do it?
The case is, I have to get the signature on one dynamic system generated document. So can't use existing default…

rj angle
- 1
- 2
0
votes
2 answers
.Net class library compilation error on build machine
I have a SDK styled .Net class library which compiles properly on my local machine, however fails on build server.
The contents of .csproj are
…

Durga Prasad
- 939
- 10
- 20
0
votes
1 answer
How to add ref assemblies to NuGet package via MSBuild pack target?
I am developing a library that targets net35 (.NET Framework 3.5), netstandard2.0 (.NET Standard 2.0) and netcoreapp3.1 (.NET Core 3.1) via TargetFrameworks.
For one of the functionalities, the library uses WPF internally so this functionality only…

Stipo
- 4,566
- 1
- 21
- 37
0
votes
0 answers
`dotnet new` throws 401 unauthorized without version on package name
So I have a dotnet template that is published to nuget, but it is only getting installed when running the install command with the version like so: dotnet new --install Foundation.Api::0.3.0. When I run the install command without the version dotnet…

Paul DeVito
- 1,542
- 3
- 15
- 38
0
votes
1 answer
Where is IntermediateAssembly set initially?
I want you to ask where IntermediateAssembly is set intially.
I ask for the reason that I want to optimize my assignments to only apply after IntermediateAssembly has been initialized.
Consider the following comparisons:

Teneko
- 1,417
- 9
- 16
0
votes
1 answer
Error occurred on restoring nuget package in visual studio "The path is not of a legal form"
Facing issue while restoring the nuget packages in visual studio and getting the following error, 'The path is not of a legal form'. Below are the configuration details.
Visual Studio 2019 - v16.5.4
Nuget Package Manager - 5.5.0
dotnet SDK - 3.1.201
0
votes
1 answer
When using AWS .Net SDK, what should be the lifecycle of client objects?
I've an application that queries some of my AWS accounts every few hours. Is it safe (from memory, number of connections perspective) to create a new client object for every request ? As we need to sync almost all of the resource types for almost…

macpak
- 1,190
- 1
- 14
- 28
0
votes
1 answer
How to build .Net SDK without .net SDK
I'm trying to build Azure Agent for rhel7.6/aarch64.
But .Net SDK is built with higher glibc version and I'm getting an error:
$ git clone https://github.com/microsoft/azure-pipelines-agent.git
$ cd azure-pipelines-agent
$ cd src
$ ./dev.sh…

amaslenn
- 797
- 9
- 16
0
votes
1 answer
Installing dotnet-sdk-3.1 has no effect
On Ubuntu 18.04 I am attempting to update from dotnet 3.0 to 3.1. I have been thru the process described here several times but it simply doesn't appear to work. I get the following result:
dave@NUC3:~$ sudo apt-get install dotnet-sdk-3.1
Reading…

Dave Gardner
- 23
- 4
0
votes
1 answer
Can ItemGroups in new VisualStudio 2017 csproj files be merged?
For example, I have a .csproj file with the following structure:
...
...
…

UяošKoт
- 416
- 6
- 10
0
votes
1 answer
Is there a way to use globbing for the new CS Project format when it comes to references?
I created a C# project with the new NetSDK format. Globbing works with other situations:
However, globbing does not seem to work with the Reference…

myermian
- 31,823
- 24
- 123
- 215
0
votes
1 answer
dotnet SDK 2.2.104 don't compile .NET Core 2.2
I have a .NET Sdk version 2.1 and lower.
I installed sdk2.2 and sdk3.
I removed sdk3
Now, the VS17 build and test my solution successfully.
But from the command line, with dotnet-cli, I can't compile the solution, because he says he is…

baruchiro
- 5,088
- 5
- 44
- 66
0
votes
0 answers
Multi-targeting project raises The target "_GetRestoreSettingsPerFramework" does not exist
I'm trying to update one of my existing C# project to the new Microsoft.NET.Sdk project structure. The solution consists of net45, netstandard1.0 and uap10.0 projects.
When I run "dotnet build ValueConverters.sln" from the NuGet Package Manager…

thomasgalliker
- 1,279
- 13
- 19