Relax new compat version warning for now

This commit is contained in:
Caelan Sayler
2024-03-28 09:29:09 +00:00
parent 5aaa8f61c4
commit 980caf0493
2 changed files with 7 additions and 7 deletions

View File

@@ -40,8 +40,12 @@ public class CompatUtil
var result = SearchAssemblyForVelopackApp(mainModule);
if (result == null) {
// if we've iterated the whole main assembly and not found the call, then the velopack builder is missing
throw new UserInfoException($"Unable to verify VelopackApp is called. " +
"Please ensure that 'VelopackApp.Build().Run()' is present in your Program.Main().");
//throw new UserInfoException($"Unable to verify VelopackApp is called. " +
// "Please ensure that 'VelopackApp.Build().Run()' is present in your Program.Main().");
_log.Error("Unable to verify VelopackApp is called. " +
"Please ensure that 'VelopackApp.Build().Run()' is present in your Program.Main(). " +
"[red underline]In a future version this will be a fatal error.[/]");
return;
}
result = _console.EscapeMarkup(result);

View File

@@ -61,7 +61,6 @@
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
}
},
".NETFramework,Version=v4.6.2/win-x64": {},
".NETFramework,Version=v4.8": {
"Microsoft.Extensions.Logging.Abstractions": {
"type": "Direct",
@@ -108,7 +107,6 @@
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
}
},
".NETFramework,Version=v4.8/win-x64": {},
"net6.0": {
"Microsoft.Extensions.Logging.Abstractions": {
"type": "Direct",
@@ -149,7 +147,6 @@
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
}
},
"net6.0/win-x64": {},
"net8.0": {
"Microsoft.Extensions.Logging.Abstractions": {
"type": "Direct",
@@ -197,7 +194,6 @@
"resolved": "8.0.0",
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
}
},
"net8.0/win-x64": {}
}
}
}