question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when running setup.ps1

See original GitHub issue

I get the following error when I try running the setup.ps1 script

C:\Projects\OpenSource\SharpLab\source\Native.Profiler\Native.Profiler.vcxproj(30,5): error MSB4019: The imported project “C:\BuildCustomizations\masm.props” was not found.

I ran the C++ tools installer in Visual Studio but I’m still getting this error.

Can you advise what I need to do to fix this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ashmindcommented, Feb 21, 2020

@NRKirby This should be resolved now (thanks @jsk95!)

0reactions
ashmindcommented, Feb 16, 2020

@jsk95 Seems like I already did something for CI – could do something similar: https://github.com/ashmind/SharpLab/blob/master/%23scripts/ci.ps1#L9-L16

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix for PowerShell Script cannot be loaded because ...
On trying to run a PowerShell script from the PowerShell console, I received this error message: “File C:\temp\GenerateRpt.ps1 cannot be loaded because ...
Read more >
Error when I run the "OnboardingScript.ps1" to add On- ...
I'm hoping I can get some help with the following error. VERBOSE: Installing Azure Connected Machine Agent
Read more >
Error Fixed: activate.ps1 cannot be loaded ... - YouTube
Error Fixed: activate. ps1 cannot be loaded because running scripts is disabled on ... How to install PyCharm (one my favorite Python IDEs): ......
Read more >
configure.ps1 & build.ps1 error when using Powershell Core
Details about Problem. Using PowerShell Core, when I run configure.ps1 and build.ps1 in order to build NuGet.Client, an error occurs:.
Read more >
ps1 cannot be loaded because running scripts is disabled ...
I try to run powershell script from c#. First i set the ExecutionPolicy to Unrestricted and the script is running now from PowerShell...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found