question

DangDKhanh-2637 avatar image
0 Votes"
DangDKhanh-2637 asked XingyuZhao-MSFT edited

Disable manifest question?

Hi,
I need to ignore manifest file while building vsto .exe file. (for Word)
but I don't know how to do this by customizing the Project configuration.
Is it the app.config file? because its syntax is really foreign to me.
How do I achieve this?

Thank you!


office-vsto-com-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ArtemiyMorozUA avatar image
1 Vote"
ArtemiyMorozUA answered

Hi there! As an option, you can try to move manifest from embedded resource to external file and then delete that file on the post-build step.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Paul-5034 avatar image
0 Votes"
Paul-5034 answered Paul-5034 edited

If you open the project properties, under the Application tab at the bottom there's a Manifest field. If you set that to "Create application without a manifest" it should skip including the manifest file.

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Paul-5034 ,
do you mean I should click on the resource file?
But I'm not sure how to create that file.
Can you tell me more?

131241-image.png


0 Votes 0 ·
image.png (20.1 KiB)
Paul-5034 avatar image Paul-5034 DangDKhanh-2637 ·

Which type of project are you making? (i.e. Windows/Console/Class Library)

0 Votes 0 ·

Hi Paul,
I see this. I'm using vsto for office
131169-image.png


0 Votes 0 ·
image.png (21.4 KiB)
Show more comments