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.VSIX
and 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
Release
and 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.VisualStudio
and enter:pushd build
- Execute the batch file
pack.bat
by 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
StarcounterNuGetKeyFull
in order to publish, ask for the Key toUrbanStar
team. - 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
UrbanStar
team if you don't have the credentials. - Search for
Starcounter
. - Browse
Starcounter for Visual Studio
. - Click on the
Manage
link at the top right corner. - Click on the Kebab Menu
(...)
found in front of the extension name and chooseEdit
. - In the
Upload extension
section click on thepencil icon
and choose theStarcounter.VS.vsix
file found under the directorybin\Release\
. The the version number that you want to upload should appear in theversion number
field on the same window. - Click on the
Save & upload
button found at the bottom of the window.