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

Find shortest distance between cities based on txt files

First two columns are ID's of the cities, and the third is distance between the cities.How I can do this in microsoft visual studio?Thank you.

View Article


Visual Studio 2019 Build issue

While building solution which has VB.NET standard projects and Core 3.1 projects, I am getting following error for all new core projects: XXXXXX.csproj.metaproj: The project file...

View Article


UsingTask always is looking for Net framework assembly not .Net Core one

I have an imported .targets file which would run on every build of a .net core project and have a custom task in it. .targets file have this:    <LibFolderPart2 Condition="'$(MSBuildRuntimeType)' ==...

View Article

Running MSBuild custom tasks and MSBuildRuntimeType difficulties

Main strategy: Here we have a library NugLibEnforceCore, which contains a custom MSBuild task and we will put it in a folder: The solution folder\.libs First step is to build this library and put it in...

View Article

NuGet.Packaging.Core.PackagingException: Unable to find fallback package...

I'm just trying to build the stock .NET Core Console app in Visual Studio 2019 Enterprise; I'm using the latest version of VS.ErrorMSB4018The "ResolvePackageAssets" task failed unexpectedly....

View Article


DownloadFile task Credentials

While using the DownloadFile task, is there way to specify credentials, at least with a key instead of password? DownloadFile task allows download of only public / anonymous URLs or authenticated URLs...

View Article

Error MSB4062 on RGiesecke.DllExport.MSBuild.DllExportAppDomainIsolatedTask

Hi all,I've succesfully imported the package UnmanagedExports ver 1.27 via the NuGet package manager, in order to obtain a dll to be invoked from a JNA app from my already exist C# project.My method...

View Article

WPF Problem I need Help about this

SeverityCodeDescriptionProjectPathFileLineSuppression State ErrorThe "ResourcesGenerator" task failed unexpectedly. System.ArgumentException: Illegal characters in path.   at...

View Article


MSHTML Big Error

SeverityCodeDescriptionProjectFileLineSuppression StateWarningCannot find wrapper assembly for type library "MSHTML". Verify that (1) the COM component is registered correctly and (2) your target...

View Article


SignFile task to sign multiple dlls

I know this has been asked before long back (link below), but wondering if there is a solution at least now (since the below post was from 2006). Is it possible to use SignFile task in msbuild to sign...

View Article

Using SignFile on Multiple Files/Paths at once?

I was just wondering if it's at all possible to use the SignFile MSBuild Task to sign multiple files at once? Can you simply specify a path or location and have all files in that location signed? Any...

View Article

SignFile task with Verbose output

Is it possible to have SignFile task to provide verbose output? For example, when it is signing multiple files, can it provide a verbose output for each file?Ven

View Article

Where is MSBuild finding .metaproj

I have a solution that I can build from Visual Studio. Configuration manager is set to build "QL Release | Win32".   I saved all after building in Visual Studio 2013.I tried a command line...

View Article


SignFile task error in Build machine

I have a Windows 10 VM with VS 2019 installed. MSBuild version is 16.6. I am using the following from msbuild command in Developer Command Prompt and it works fine.<SignFile...

View Article

Visual Studio 2019 C++/CLI Building without MSBuild

Hello, I am trying to port a C++/CLI project to target .NET Core without MSBuild and I keep getting the following errors: Error 1:...

View Article


Web Deploy ExcludeFromPackageFolders & ExcludeFoldersFromDeployment both not...

Hi Build & Deploy Folk, My Web Deploy from VS 2019 on my Windows 10 dev machine  to IIS on a separate Windows Server machine completes correctly but when it opens the home page of that newly...

View Article

Why there is a error while executing program in VS 2019?

Hi,I am trying to write a simple C++ code script on visual studio and it keeps getting detected as a Trojan:Win32/Ludicrouz.Z threat. Visual studio keeps timing out with the error that "operation did...

View Article


invalid parameter. path contains illegal character.

hi  friend ,  vs has an error :   C:\Program Files (x86)\Microsoft VisualStudio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2110,5): error MSB3095: invalid parameter. path...

View Article

Nuget restore task taking an excessive length of time

HiWe have DevOps pipelines being run on self-hosted build servers, building a large solution (~50 projects, currently a mix of full framework and NetStandard) with a lot of nugets being referenced....

View Article

Error_MSB4018_The "ResolvePackageAssets" task failed unexpectedly.

SeverityCodeDescriptionProjectFileLineSuppression State ErrorMSB4018 The "ResolvePackageAssets" task failed unexpectedly. NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder...

View Article
Browsing all 2763 articles
Browse latest View live


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