You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,24 +10,21 @@ This repo contains .NET **nanoFramework** Visual Studio extension and associated
10
10
11
11
## Build status
12
12
13
-
| Component | Build Status | Stable version | Preview version |
14
-
|:-|---|---|---|
15
-
| Visual Studio 2022 extension |[](https://dev.azure.com/nanoframework/Visual-Studio-extension/_build/latest?definitionId=17)|[](https://marketplace.visualstudio.com/items?itemName=nanoframework.nanoFramework-VS2022-Extension)|[-yellow.svg)](http://vsixgallery.com/extension/bf694e17-fa5f-4877-9317-6d3664b2689a)|
16
-
| Visual Studio 2019 extension |[](https://dev.azure.com/nanoframework/Visual-Studio-extension/_build/latest?definitionId=17)|[](https://marketplace.visualstudio.com/items?itemName=nanoframework.nanoFramework-VS2019-Extension)|[-yellow.svg)](http://vsixgallery.com/extension/455f2be5-bb07-451e-b351-a9faf3018dc9)|
17
-
| Visual Studio 2017 extension |[](https://dev.azure.com/nanoframework/Visual-Studio-extension/_build/latest?definitionId=17)|[](https://marketplace.visualstudio.com/items?itemName=vs-publisher-1470366.nanoFrameworkVS2017Extension)|[-yellow.svg)](http://vsixgallery.com/extension/47973986-ed3c-4b64-ba40-a9da73b44ef7)|
13
+
| Component | Build Status | Stable version |
14
+
|:-|---|---|
15
+
| Visual Studio 2022 extension |[](https://dev.azure.com/nanoframework/Visual-Studio-extension/_build/latest?definitionId=17)|[](https://marketplace.visualstudio.com/items?itemName=nanoframework.nanoFramework-VS2022-Extension)|
16
+
| Visual Studio 2019 extension |[](https://dev.azure.com/nanoframework/Visual-Studio-extension/_build/latest?definitionId=17)|[](https://marketplace.visualstudio.com/items?itemName=nanoframework.nanoFramework-VS2019-Extension)|
17
+
| Visual Studio 2017 extension (:warning: Deprecated) |[](https://dev.azure.com/nanoframework/Visual-Studio-extension/_build/latest?definitionId=17)|[](https://marketplace.visualstudio.com/items?itemName=vs-publisher-1470366.nanoFrameworkVS2017Extension)|
18
18
19
19
## Feedback and documentation
20
20
21
21
For documentation, providing feedback, issues and finding out how to contribute please refer to the [Home repo](https://github.com/nanoframework/Home).
22
22
23
23
Join our Discord community [here](https://discord.gg/gCyBu8T).
24
24
25
-
## Visual Studio extension galleries
25
+
## Visual Studio extension distribution
26
26
27
-
**nanoFramework** Visual Studio extension is distributed through Visual Studio Marketplace. This is for the stable version.
28
-
29
-
In case you want to be in the bleeding edge of technology and use the new stuff (or interested in trying out preview versions and provide valuable feedback) you can do that by adding the Open VSIX Gallery feed to your Visual Studio configuration. Please follow the instructions [here](http://vsixgallery.com/guide/feed/) on how to add the feed to your Visual Studio instance.
30
-
This is the feed URL: `http://vsixgallery.com/feed/author/nanoframework/`.
27
+
**nanoFramework** Visual Studio extension is distributed through Visual Studio Marketplace. You can either search it on the marketplace or follow the URLs above for the appropriate version.
31
28
32
29
This is the experience you'll have when installing the extension:
33
30
@@ -43,7 +40,7 @@ If you are working on developing code for **nanoFramework** Visual Studio extens
43
40
44
41
## Credits
45
42
46
-
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/master/CONTRIBUTORS.md).
43
+
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/main/CONTRIBUTORS.md).
Copy file name to clipboardExpand all lines: docs/developer-notes.md
+19-6Lines changed: 19 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ To launch Visual Studio experimental instance:
14
14
In case you need to reset the Visual Studio experimental instance:
15
15
16
16
1. Open VS developer command prompt.
17
-
2. Navigate to `e:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VSSDK\VisualStudioIntegration\Tools\Bin`.
18
-
3. Enter `CreateExpInstance /Reset /VSInstance=15.0 /RootSuffix=_d9708c20Exp`.
17
+
2. Navigate to `C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VSSDK\VisualStudioIntegration\Tools\Bin`.
18
+
3. Enter `CreateExpInstance /Reset /VSInstance=17.0 /RootSuffix=_d9708c20Exp`.
19
19
20
-
> Mind to adjust the path above to your setup and Visual Studio version (15.0 for VS2017 and 16.0 for VS2019).
20
+
> Mind to adjust the path above to your setup and Visual Studio version (16.0 for VS2019 and 17.0 for VS2022).
21
21
> The RootSuffix above (**_d9708c20Exp**) will be different for each installation. Please amend the above to match your local one. You can find the suffix by navigating to the following folder in the users folder `C:\Users\johndoe\AppData\Roaming\Microsoft\VisualStudio`.
22
22
23
-
You'll want to reset VS experimental instance on a number of situations. Usually this is when you need to start fresh because there is too much clutter, a failed deployment that is creeplying your debugging or whenever a new Visual Studio update is installed.
23
+
You'll want to reset VS experimental instance on a number of situations. Usually this is when you need to start fresh because there is too much clutter, a failed deployment that is creeplying your debugging or whenever you install a new Visual Studio version.
24
24
25
25
## Debugging with the **nanoFramework** Debugger library
26
26
@@ -35,7 +35,20 @@ In situations where you want to debug something in the **nanoFramework** Debugge
35
35
36
36

37
37
38
-
6. Use the [NuGet reference switcher extension](https://marketplace.visualstudio.com/items?itemName=RicoSuter.NuGetReferenceSwitcherforVisualStudio2017) to switch the references to `nanoFramework.Tools.Debugger` from NuGet to project and point it to the appropriate project.
38
+
1. Remove the `nf-debugger` Nuget package from the extension projects.
39
+
1. Add a reference to the `nf-debugger` project in the extension projects.
40
+
1. Build as ususal.
39
41
1. Perform whatever debug that you need by placing breakpoint on any source file of the debugger library.
40
-
1. When you are done open the NuGet reference switcher extension again, open the Switch to NuGet references tab and revert the debugger library references. Make sure that the "remove projects from solution" is **not** checked.
42
+
1. When you are done remove the reference to the `nf-debugger` project and add back the Nuget package.
41
43
1. Unload the debugger library projects from the solution.
44
+
45
+
## Known issue with debugging in the experimental instance
46
+
47
+
Because of several `CodeBase` entries required for Visual Studio to load the extension assemblies (see [here](https://developercommunity.visualstudio.com/t/Image-icons-from-image-catalog-not-showi/10791720) for the details) you can run into issues for the experimental instance to load the actual assembly of the build you're trying to debug.
48
+
If that happens, you're forced to follow these steps:
49
+
50
+
1. Make a copy of the folder providing the targets and props of the project system. For Visual Studio 2022, this is usually located at `C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\nanoFramework\v1.0`. Delete the DLLs from there. Leave only the targets and props files.
51
+
1. Uninstall the official .NET nanoFramework extension from Visual Studio.
52
+
1. Load the extension solution and work as usual.
53
+
54
+
Before installing back the official .NET nanoFramework extension, mind to rename (or remove) the project system folder. Failing to do so will cause the extension install to fail.
0 commit comments