Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

run powershell script after nuget package install

$
0
0

I have a very simple script in PowerShell My script runs well on .NET Framework Projects but It does not run on .NET Core 3.0 projects.

Is the method different?

This is my script

tools\install.ps1

$DTE.ItemOperations.Navigate("https://google.com")

and this is my package.nuspec file

<?xml version="1.0"?><package ><metadata>    ...<repository type="git" url="https://github.com/....." /><dependencies><group targetFramework=".NETFramework4.0"><dependency id="Microsoft.Windows.Shell" version="3.0.1" /></group><group targetFramework=".NETFramework4.5" /><group targetFramework=".NETFramework4.6.2" /><group targetFramework=".NETFramework4.7" /><group targetFramework=".NETFramework4.8" /><group targetFramework=".NETCoreApp3.0" /><group targetFramework=".NETCoreApp3.1" /></dependencies></metadata><files>   ...<file src="tools\install.ps1" target="tools\install.ps1" /></files></package>

Viewing all articles
Browse latest Browse all 3067

Trending Articles



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