Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Access denied while trying to a load a Microsoft.Build.Evaluation.Project

$
0
0

Hi,

I'm trying to load a project using the following code:

Microsoft.Build.Evaluation.Project project = ProjectCollection.GlobalProjectCollection.LoadProject(path);

But I get the following exception:

Microsoft.Build.Exceptions.InvalidProjectFileException

The project file could not be loaded. Access to the path 'path' is denied. 

I have verified the path is correct, so I cannot what's going wrong...

Any thoughts?

Thanks!


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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