mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Relax new compat version warning for now
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user