-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove NeoExpress from DevTracker extension package #157
Comments
In the case of local installation, where should we place "neo.express"? In the extensions folder like the current implementation or the workspace folder? |
The dotnet-tools.json file is included in the extension package under the new-contract -> csharp folder. Is it ok to assume it will always be there for us to get the target neo.express version? |
We should trigger installation and updates via the
I don't think the new contract template is a good source for this information. We can add baseline version information to the Current content of {
"versions": [
"0.8.11",
"0.9.80",
"0.9.82",
"0.9.95",
"1.0.7",
"1.0.8",
"1.1.28",
"2.0.17-preview",
"2.0.18-preview",
"2.0.21-preview",
"2.0.23-preview",
"2.0.24-preview",
"2.0.32-preview",
"2.0.35-preview",
"2.0.37-preview",
"2.0.39-preview",
"2.0.50-preview",
"3.0.2",
"3.0.5",
"3.0.13",
"3.0.21",
"3.1.38",
"3.1.46",
"3.3.21",
"3.3.27",
"3.4.18",
"3.5.20"
]
} |
|
The tool config file is local to the workspace folder, not the extension folder. You can see an example in the Registrar Sample repo Note, I think we need to fix the C# new contract template. It's putting the tool manifest in the project workspace root, not under .config folder as |
Today, devtracker includes its own copy of Neo Express in the extension package. This is problematic for a few reasons
dotnet-tools.json
file that installs Express as a local toolInstead of including neoxp inside the extension package, DevTracker should help the developer keep their global or local installation of Express up to date.
On activation in a workspace that contains one or more
.neo-express
files, check to see if Express is installed locally (dotnet tool list --local
) or globally (dotnet tool list --global
).If not installed, give the user the option to install either globally or locally. Also, provide a mechanism to "learn more" that will open a documentation page that explains the difference. Note, if the user chooses local install, devtracker may also need to create a tool manifest (
dotnet new tool-manifest
)If installed, check to see if there is an updated version of Neo.Express available from nuget.org and offer to update if available. Note, DevTracker and Express both track the Neo platform's major & minor version numbers, but will have different patch version. DevTracker should not install a version of Express that doesn't match its own major/minor version. For example. DevTracker v3.6.12 and Express 3.6.21 are both installed. DevTracker should offer to update to Express v3.6.28 but not Express v3.7.13. DevTracker v3.7 would offer to update Express 3.6.21 -> 3.7.13
The text was updated successfully, but these errors were encountered: