gumbarros
gumbarros
CC#
Created by gumbarros on 4/5/2023 in #help
❔ What is the difference between public static and public static virtual in a interface?
The main application also references Microsoft.Extensions.DependencyInjection.Abstractions, is this a problem?
4 replies
CC#
Created by gumbarros on 11/3/2022 in #help
Path.Combine to folder behind
Solved, thanks
10 replies
CC#
Created by gumbarros on 11/3/2022 in #help
Path.Combine to folder behind
Expected output: /home/gumbarros/Projects/jjmasterdata/appsettings.json
10 replies
CC#
Created by gumbarros on 11/3/2022 in #help
Path.Combine to folder behind
10 replies
CC#
Created by gumbarros on 11/3/2022 in #help
Path.Combine to folder behind
Output:
10 replies
CC#
Created by gumbarros on 10/16/2022 in #help
Help with WPF app
Solved installing the SDK, I don't know how to speak thiks in english because I'm DRUNK. Mas lendo o log descobri que talvez instralando a SDK da versão que o log falou que faltava resolveria e PAN resolveu
4 replies
CC#
Created by gumbarros on 10/16/2022 in #help
Help with WPF app
The error:
```
Application: CsToDartTranspiler.WPF.exe
CoreCLR Version: 5.0.1321.56516
.NET Version: 5.0.13
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'CsToDartTranspiler.WPF.MainWindow' that matches the specified binding constraints threw an exception.
---> System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
at A.b..ctor()
at CsToDartTranspiler.DartTranspiler..ctor(ILogListener logListener)
at CsToDartTranspiler.WPF.TranspilerViewModel..ctor()
at CsToDartTranspiler.WPF.MainWindow..ctor()
--- End of inner exception stack trace ---
at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
Message to long for discord, f*ck Nitro

```
Application: CsToDartTranspiler.WPF.exe
CoreCLR Version: 5.0.1321.56516
.NET Version: 5.0.13
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'CsToDartTranspiler.WPF.MainWindow' that matches the specified binding constraints threw an exception.
---> System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
at A.b..ctor()
at CsToDartTranspiler.DartTranspiler..ctor(ILogListener logListener)
at CsToDartTranspiler.WPF.TranspilerViewModel..ctor()
at CsToDartTranspiler.WPF.MainWindow..ctor()
--- End of inner exception stack trace ---
at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
Message to long for discord, f*ck Nitro

4 replies