A Visual Studio extension that assist in development and debugging of Starcounter applications. Contain project- and item templates and support the extension to be installed and uninstalled using a VSIX package.
This extension requires StarcounterBin user level environment variable to point to the Starcounter installation folder.
- Clone the source repository from Github.
- On the command line, enter:
git clone https://github.com/Starcounter/Starcounter.VisualStudio.git - Open
src\Starcounter.VisualStudio.sln. - Expand the project
Starcounter.VS.VSIXand open filesource.extension.vsixmanifest. - Change the version number to the version number that you want to release. e.g.
1.0.x - Change the build type to
Releaseand build theSolution.
- Open the directory
bin\Release\ - Run
Starcounter.VS.vsix. - Make sure this successfully installs the project extension.
- Open the file
build\version.txt. - Enter the version that you want to release e.g.
1.0.X. - Open the command line in the
Starcounter.VisualStudioand enter:pushd build - Execute the batch file
pack.batby entering:.\pack.bat - This should create a directory in
Starcounter.VisualStudio\artifacts
- Download the latest Nuget.exe from Nuget.org.
- Enter the following command:
where "c:\nuget" is the path to the nuget.exe.
set PATH=%PATH%;C:\nuget - You would need
StarcounterNuGetKeyFullin order to publish, ask for the Key toUrbanStarteam. - Enter command:
set StarcounterNuGetKeyFull="xxxx" - Enter following command to publish :
.\pack_and_push.bat - New version should appear in Package Home after some time.
- Login to Visual Studio Marketplace. Please ask to
UrbanStarteam if you don't have the credentials. - Search for
Starcounter. - Browse
Starcounter for Visual Studio. - Click on the
Managelink at the top right corner. - Click on the Kebab Menu
(...)found in front of the extension name and chooseEdit. - In the
Upload extensionsection click on thepencil iconand choose theStarcounter.VS.vsixfile found under the directorybin\Release\. The the version number that you want to upload should appear in theversion numberfield on the same window. - Click on the
Save & uploadbutton found at the bottom of the window.