Skip to content
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

Start-AutRun : [error]Can't find sa.exe at d:\a\1\s\...\Microsoft.Azure.StreamAnalytics.CICD.2.4.0\tools\sa.exe #7

Closed
Fleid opened this issue Apr 6, 2020 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Fleid
Copy link
Owner

Fleid commented Apr 6, 2020

Since the recent release of version 2.4.1 of the Microsoft.Azure.StreamAnalytics.CICD package, Start-AutRun will throw an error indicating it can't find version 2.4.0 of sa.exe.

Release 1.0.3

@Fleid Fleid added the bug Something isn't working label Apr 6, 2020
@Fleid Fleid self-assigned this Apr 6, 2020
@Fleid
Copy link
Owner Author

Fleid commented Apr 6, 2020

The issue comes from the fact that New-AutProject will install the latest version of the package, while Start-AutRun will specifially target 2.4.0 as of release 1.0.3 (hard-coded as default value for parameter $asaNugetVersion).

A first quick fix is to call passing the version available of the nuget package: Start-AutRun -asaNugetVersion "2.4.1" -...

Another quick fix is to install version 2.4.0 of the nuget package instead. Since New-AutProject can't download specific versions of packages at the moment, it's necessary to use the nuget command itself: nuget.exe" install $nugetPackage -Version $nugetPackageVersion -OutputDirectory $installPath.

Longer term, I'm working of having Start-AutRun automatically select the latest version of the package installed.

@Fleid Fleid added this to the 1.0.4 milestone Apr 6, 2020
@Fleid
Copy link
Owner Author

Fleid commented Apr 6, 2020

Fixed in release 1.0.4

@Fleid Fleid closed this as completed Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant