Quantcast
Channel: MSBuild forum
Browsing all 2763 articles
Browse latest View live

Error MSB4018 task failed unexpectedly

Severity Code Description Project File Line Suppression State Error MSB4018 The "GetVarsFromMakefile" task failed unexpectedly. System.ArgumentException: An item with the same key has already been...

View Article


Reduce / compact path length in output

Hellois there a way to use the relative path in output windows during compilation ?My code is stored inside : C:\Users\USERNAME\Dropbox\Dev\DotNET\MYCOMPANY\MYSOLUTIONNAME\MYPROJECTSo each line is just...

View Article


The "ResolveAssemblyReference" task failed unexpectedly.

Whenever I try to update the model in Entity frame work .I always ran into different errors . this time this error shows up . The "ResolveAssemblyReference" task failed unexpectedly....

View Article

Insert Import into project file at position 0 and save without prompt

I am building a Nuget package which has a tools folder with install.ps1. This Nuget package is dependent on NugetPowerTools package which provides some APIs to work with the project and its properties....

View Article

Visual Studio 2019 not picking up CS generated files

Hi,I have created dot net core dll project. CS files for this project will be files generated by tool (Apache Thrift compiler) but output dll is not picking up generated file. I have added the pre...

View Article


The "ResolveAssemblyReference" task failed unexpectedly

Hi.my problem is really force . I create a project with asp core2.2 in visual studio 2019 16.3.6, i uninstall windows and install new version of it, install visual studio 2019 and run my project i...

View Article

What is the url privacy policy

My application requires a url privacy policy as it includes a browser. In the properties section, please provide url. What is the address?

View Article

CPP tools during build phase missing while submitting USQL script for local run.

I am getting the following error while trying to submit USQL script. I don't know how to resolve it. I am a new to Visual Studio.error E_RUNTIME_SYSTEM_CODEGENFAILURE: FindLocalTools: could not find...

View Article


Unity 2019.2.10f1 IL2cpp + MRTK 2.0 + VS 19 cant make build getting following...

Hi,I'm not able to make build for HoloLens 1.I'm using Unity 2019.2.10f1 + MRTK 2.0 + VS19+ Windows 10 1v903 with latest Windows SDK. Getting following...

View Article


Build skips over some perfectly good "CL" compiles but gets most of the...

VS2013 (sorry, not my choice) skips over a dozen files. I can click on each file and compile it just fine, just cant be done with "build".  I turned on diagnostics for the build log and saw the files...

View Article

How to split VCXPROJ into two projects using notepad or whatever to avoid a...

Due to a problem described here I suspect I need to edit my project file and make one for CUDA compiles and another for regular C++ "CL" compiles.  I do not see a way to use the IDE so looks like...

View Article

How to get the list of project types in a solution programatically

I want to get a list of different projects and their types given a solution file path. Solution might be build either in .net FW or .net core. I tried to use the msbuild api, but did not find anything...

View Article

Web.Config transform question. Connection Strings

Say I have this in Dev<connectionStrings>   <add name="MyConnection" connectionString="yadayada" provider="blahblah"</connectionStrings>Upon Deployment to QA I need to transform that...

View Article


Corrupted "PGD" file causes link to stop VS2017

I checked associations and the PGD is opened by visual studio selector, not that PGP program.  This is a VS2017 project from Berkeley I just started working on.The link line shows...

View Article

MSBuild Task on TFS 2018 failing with the wrong .net SDK Path

I have a MSBuild task to build a service fabric project on TFS 2018 [On-Premises]. The solution builds fine locally using Visual Studio 2019 and MSBuild. It fails on the TFS Build Agent with the...

View Article


Microsoft.NetNative.targets(788,5): error : Internal compiler error:...

I am complete lost!!!I using VS2019, project Xamarin FormCompile perfect in DEBUG mode, but when I create a package to publish to the storeSame error...

View Article

MSBUILD.EXE to include all files - Prerequisite(Auto)

I am trying to publish a desktop application using MSBUILDIn Visual studio-> properties->publish->Application Files. i have some item is "Presiquistes(Auto)". and this is working when i...

View Article


Convert C language code to Objective-C code

Hi,I have written a large code in C language and I like to install it in iPhone as an App.Since the Objective-C is a subset of the C language I wonder if C code can be made into Objective-C code with...

View Article

Image may be NSFW.
Clik here to view.

MSBuild Error MSB4066: The attribute "version" in element is unrecognized.

I tried running every MSBUILD version of this, and still on manage to get this error with little to no differences. I'm not sure of any other methods that I can take to get this running in this. I...

View Article

AssemblyInfo task in Directory.Build.targets

I am very new to this. I have a Visual Studio 2019 solution which has multiple projects based on .Net Framework 4.7 Class Library. I need to control the Assembly Version from MSBuild through Jenkins....

View Article
Browsing all 2763 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>