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

System.IO.FileLoadException #11

Open
abhikum opened this issue Aug 15, 2016 · 6 comments
Open

System.IO.FileLoadException #11

abhikum opened this issue Aug 15, 2016 · 6 comments

Comments

@abhikum
Copy link

abhikum commented Aug 15, 2016

I am getting this error. I am running the latest

image

@sondreb
Copy link

sondreb commented Aug 17, 2016

Same error, any updates on when an updated release for the binaries will be available? Is this an SF library that have been copied into this repo, or is it something @ChackDan have written?

@sondreb
Copy link

sondreb commented Aug 17, 2016

If all you need is to run the Invoke-AddCertToKeyVault command, you can simply remove/comment the import of that assembly.

On line 11, remove or add a hashbang on this line:

Add-Type -Path "$invocationDir\System.Fabric.CSMTemplate\System.Fabric.CSMTemplate.dll"

@ChackDan
Copy link
Owner

I will follow up. Thankyou for reporting this. I am working on updating the whole package based on the numerus messages. Do not have an ETA at this time.

From: SondreB [mailto:notifications@github.com]
Sent: Wednesday, August 17, 2016 7:09 AM
To: ChackDan/Service-Fabric Service-Fabric@noreply.github.com
Cc: Chacko Daniel chackdan@microsoft.com; Mention mention@noreply.github.com
Subject: Re: [ChackDan/Service-Fabric] System.IO.FileLoadException (#11)

If all you need is to run the Invoke-AddCertToKeyVault command, you can simply remove/comment the import of that assembly.

On line 11:

Add-Type -Path "$invocationDir\System.Fabric.CSMTemplate\System.Fabric.CSMTemplate.dll"


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/11#issuecomment-240422479, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKq9piEUah0H2kMkTyrJ2AFHg9AiQK47ks5qgxX1gaJpZM4Jkmc_.

@abhikum
Copy link
Author

abhikum commented Aug 17, 2016

Thanks, issue was because of outdated Newton Json, after I updated to newer version. Script worked fine.

From: Chacko Daniel [mailto:notifications@github.com]
Sent: Wednesday, August 17, 2016 9:43 AM
To: ChackDan/Service-Fabric Service-Fabric@noreply.github.com
Cc: Abhishek Kumar (MDD) Kumar.Abhishek@microsoft.com; Author author@noreply.github.com
Subject: Re: [ChackDan/Service-Fabric] System.IO.FileLoadException (#11)

I will follow up. Thankyou for reporting this. I am working on updating the whole package based on the numerus messages. Do not have an ETA at this time.

From: SondreB [mailto:notifications@github.com]
Sent: Wednesday, August 17, 2016 7:09 AM
To: ChackDan/Service-Fabric <Service-Fabric@noreply.github.commailto:Service-Fabric@noreply.github.com>
Cc: Chacko Daniel <chackdan@microsoft.commailto:chackdan@microsoft.com>; Mention <mention@noreply.github.commailto:mention@noreply.github.com>
Subject: Re: [ChackDan/Service-Fabric] System.IO.FileLoadException (#11)

If all you need is to run the Invoke-AddCertToKeyVault command, you can simply remove/comment the import of that assembly.

On line 11:

Add-Type -Path "$invocationDir\System.Fabric.CSMTemplate\System.Fabric.CSMTemplate.dll"


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/11#issuecomment-240422479, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKq9piEUah0H2kMkTyrJ2AFHg9AiQK47ks5qgxX1gaJpZM4Jkmc_.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/11#issuecomment-240472125, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJIhsGBAuVIQ-Xp7_MRwBt33j8JHKYGGks5qgzorgaJpZM4Jkmc_.

@ChackDan
Copy link
Owner

Good to know Abhishek. Thankyou for following up.

From: Abhishek kumar [mailto:notifications@github.com]
Sent: Wednesday, August 17, 2016 10:21 AM
To: ChackDan/Service-Fabric Service-Fabric@noreply.github.com
Cc: Chacko Daniel chackdan@microsoft.com; Mention mention@noreply.github.com
Subject: Re: [ChackDan/Service-Fabric] System.IO.FileLoadException (#11)

Thanks, issue was because of outdated Newton Json, after I updated to newer version. Script worked fine.

From: Chacko Daniel [mailto:notifications@github.com]
Sent: Wednesday, August 17, 2016 9:43 AM
To: ChackDan/Service-Fabric <Service-Fabric@noreply.github.commailto:Service-Fabric@noreply.github.com>
Cc: Abhishek Kumar (MDD) <Kumar.Abhishek@microsoft.commailto:Kumar.Abhishek@microsoft.com>; Author <author@noreply.github.commailto:author@noreply.github.com>
Subject: Re: [ChackDan/Service-Fabric] System.IO.FileLoadException (#11)

I will follow up. Thankyou for reporting this. I am working on updating the whole package based on the numerus messages. Do not have an ETA at this time.

From: SondreB [mailto:notifications@github.com]
Sent: Wednesday, August 17, 2016 7:09 AM
To: ChackDan/Service-Fabric <Service-Fabric@noreply.github.com<mailto:Service-Fabric@noreply.github.commailto:Service-Fabric@noreply.github.com%3cmailto:Service-Fabric@noreply.github.com>>
Cc: Chacko Daniel <chackdan@microsoft.com<mailto:chackdan@microsoft.commailto:chackdan@microsoft.com%3cmailto:chackdan@microsoft.com>>; Mention <mention@noreply.github.com<mailto:mention@noreply.github.commailto:mention@noreply.github.com%3cmailto:mention@noreply.github.com>>
Subject: Re: [ChackDan/Service-Fabric] System.IO.FileLoadException (#11)

If all you need is to run the Invoke-AddCertToKeyVault command, you can simply remove/comment the import of that assembly.

On line 11:

Add-Type -Path "$invocationDir\System.Fabric.CSMTemplate\System.Fabric.CSMTemplate.dll"


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/11#issuecomment-240422479, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKq9piEUah0H2kMkTyrJ2AFHg9AiQK47ks5qgxX1gaJpZM4Jkmc_.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/11#issuecomment-240472125, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJIhsGBAuVIQ-Xp7_MRwBt33j8JHKYGGks5qgzorgaJpZM4Jkmc_.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/11#issuecomment-240482791, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKq9pre-uctatU-PjpiBBuA8XyN2rMaZks5qg0L7gaJpZM4Jkmc_.

@danzel
Copy link

danzel commented Dec 26, 2016

I did a: right click, properties, unblock on the dll files, that fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants