VS code python error can't fidn imported file
Stack Overflow » Visual Studio
by FNG_mw2
3d ago
So I am using python and I have the following schema of files: 10.Testing (parent folder) -- files (folder) |__ init.py (empty file) |simple_functions.py -- tests (folder) | test_simple_functions.py |__ init.py (empty file) 10.Testing: This is my parent folder, which contains the 2 folders, tests and files. files: This is a subfolder in my parent folder. It contains the Python file simple_functions.py where I have defined some functions. tests: This is another subfolder in my parent folder. It contains the Python file test_simple_functions.py where I am writing my test cases for my functions ..read more
Visit website
I need help setting up the transpiler in fsharp [closed]
Stack Overflow » Visual Studio
by Nephas kango
3d ago
I'm creating an fsharp project where I change python code to fsharp. So I'm basically creating a transpiler. I need help in setting up the environment. I need help. How do I begin the execution of the project I need help with the the execution of the project. Where do I begin ..read more
Visit website
.net 8 Memory Leak
Stack Overflow » Visual Studio
by jose silva
3d ago
I have a microservice architecture using .net8 with rabbitmq as messaging service and postgresql, mongodb and sqlserver as databases depending on the service. Accross all of my services, there is a problem that we are facing where memory usage goes up as the requests are being answered, but rarely if ever does it come down. I've tried forcing the dispose methods in visual studio and it seams to have worked when i run it in debbug mode, but changing it to release mode, it goes back to the same problem. Also, deploying to aws (linux containers), even in debug mode, the memory continues to climb ..read more
Visit website
Visual Studio 2022 feature "Goto Definition" broken after using MVVM Toolkits Code Generators
Stack Overflow » Visual Studio
by Nico Zimmermann
3d ago
it's about Visual Studio 2022 with a Desktop WPF App using MVVM Toolkit. After adding a Class that uses Code Generators like ObservableObject VS does not navigate to the source code any more when using F12 Goto Definiton but instead navigates to Generated Class. This is correct, but not very helpful while coding. Is it possible to change the behavior so that VS navigates to the SourceCode? Sometimes VS opens the delcarations view instead of going to the pre-generated code. Peek definitions sometimes does just shows an error. F12 often just navigates to the generated code. I tried the Options b ..read more
Visit website
Create Maui project is not available after installing .NET 9.0 Preview
Stack Overflow » Visual Studio
by Hossam Fares
3d ago
I have installed .NET 9.0 Preview SDK from the official Microsoft website, then when I click on "Create a new project" .NET Maui option is not available. I had a Maui project that I created before installing .NET 9.0 when I opened it the solution explorer shows the message based on your solution you might need to install extra components for a full development experience. when I click on install, visual studio installer tells me "You already have the frameworks, SDKs and tools installed that you need for development work you selected. you can always add more by running 'Visual Studio Installer ..read more
Visit website
Code runs but only I change the out put type from class library, to different output type, and then back to class
Stack Overflow » Visual Studio
by Alex Patton
3d ago
I am working on creating an ASP.NET webpage on .NET 4.8 framework. When I first launch my code from Visual Studio, I get a server error in '/' application stating: The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /default.aspx However, while fidgeting around, I discovered that when I opened up properties, went to the output type, and changed it from class libra ..read more
Visit website
Alt key skips KeyDown, KeyUp events
Stack Overflow » Visual Studio
by kamikazehighland
3d ago
If I have a key down and then I touch the Alt key, the KeyUp event doesn't fire for the key I had down until the next time I hit the key that's repeating i.e. "aaaaaaaaa...". It's like when you don't use the deactivate or lost focus events and you click away, the key you were holding continues. I've tried using preview key down and preview key up to catch Alt key presses. I've even tried having every key be released if the Alt key is pressed, but there was a delay between pressing the Alt key and the other key stopping. I don't necessarily want to disable things like Alt+F4. I'm deliberately n ..read more
Visit website
Visual Studio Code Cleanup: How to avoid removing unassgiend/unused variable when file is on save
Stack Overflow » Visual Studio
by Sophie cai
3d ago
I am using Code Cleanup in Visual Studio and noticed when file is on save. The unused variable will be removed like: I tried editing the .editorConfig file but it didn't seem to work with any of the setting options. Does anyone know a trick to remove this default setting ..read more
Visit website
Visual Studio Image Editor tools are disabled
Stack Overflow » Visual Studio
by Joe
3d ago
I've got a custom cursor file (32x32) in my project that I'm trying to edit in Visual Studio. But when I load it, all of the tools in the image toolbar are disabled. The only buttons enabled on the toolbar are the "magnification tool", "set hotspot tool" and "New Image Type (ins)" tool. It's probably been 15 years since I've done any image editing in Visual Studio. I'm sure I'm missing something blatantly obvious. What do I have to do to be able to edit this thing? (Note: I've checked that the file is not readonly ..read more
Visit website
VCTargetsPath is not defined when running dotnet / msbuild
Stack Overflow » Visual Studio
by Milan
3d ago
I've seen many topics with that problem, but no real solution anywhere. I already tried fresh installs of VS / dotnet without success. When trying to run dotnet pack on a C# - C++\CLI - C++ solution I ran into an MB4019 error because Microsoft.Cpp.Default.props is not found. This is because the environment variable VCTargetsPath is not defined. From my understanding, this variable should not be defined but instead populated when msbuild is called as the path it's pointing toward depends on which VS version will be used for the build. Right now I have to set the variable in my system, which is ..read more
Visit website

Follow Stack Overflow » Visual Studio on FeedSpot

Continue with Google
Continue with Apple
OR