I'm trying to reach the TargetPath property for a project on the DeployProvider.
-
can't use Properties.GetConfigurationGeneralPropertiesAsync() because the build fails.
Actually there are no errors listed, I can only see this on the build output window. The partial class is there and exists on the obj folder.
-
Trying to use the dereferenced property fails because types are missing:
(new System.Threading.Tasks.SystemThreadingTasks_FutureDebugView<Microsoft.Build.Evaluation.Project>(((Microsoft.VisualStudio.ProjectSystem.ConfiguredProjectImpl)Properties.ConfiguredProject).MSBuildProject).Result).AllEvaluatedProperties["TargetPath"]
I'm trying to reach the TargetPath property for a project on the DeployProvider.
can't use
Properties.GetConfigurationGeneralPropertiesAsync()because the build fails.Actually there are no errors listed, I can only see this on the build output window. The partial class is there and exists on the obj folder.
Trying to use the dereferenced property fails because types are missing:
(new System.Threading.Tasks.SystemThreadingTasks_FutureDebugView<Microsoft.Build.Evaluation.Project>(((Microsoft.VisualStudio.ProjectSystem.ConfiguredProjectImpl)Properties.ConfiguredProject).MSBuildProject).Result).AllEvaluatedProperties["TargetPath"]