Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
407 views
in Technique[技术] by (71.8m points)

c# - How to handle: Warning MSB3182: File name 'Resources....File.txt' exceeds 100 characters

I have a WPF project with a couple large strings in it.

So I decided to clean it up a bit and move my strings into some constant fields.

Then I decided; hey... maybe it's better if I move each of the really big strings into its own '.txt' file; then add those '.txt' files in as resources in my project. Then I'll just read in the big strings from the '.txt' files in the resources.

Upon building I get this warning in the 'Error List' :

Warning - File name 'ResourcesTemplatesReviewTemplatesReviewApplicationDocumentTemplatesSingleApplicationTemplateDocumentOne.txt' exceeds 100 characters.

I need some advice so I can figure out what's the best, most proper, clean way to handle my large strings.

Help will be appreciated.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...