Fix json.net NuGet problem
This commit is contained in:
@@ -22,6 +22,12 @@ if ($project) {
|
||||
$umbracoFilesPath = Join-Path $rootPath "UmbracoFiles\*"
|
||||
Copy-Item $umbracoFilesPath $projectDestinationPath -recurse -force
|
||||
|
||||
# Remove Newtonsoft.Json if present in the bin folder
|
||||
# If we don't do this, the correct version never gets copied in
|
||||
$projectDestinationPath = Split-Path $project.FullName -Parent
|
||||
$jsonDllFile = Join-Path $projectDestinationPath "bin\Newtonsoft.Json.dll"
|
||||
Remove-Item $jsonDllFile -Confirm:$false
|
||||
|
||||
# Open readme.txt file
|
||||
$DTE.ItemOperations.OpenFile($toolsPath + '\Readme.txt')
|
||||
}
|
||||
Reference in New Issue
Block a user