首页 \ 问答 \ 将C#项目从visual studio 2010降级到visual studio 2008(Downgrade C# Project from visual studio 2010 to visual studio 2008)

将C#项目从visual studio 2010降级到visual studio 2008(Downgrade C# Project from visual studio 2010 to visual studio 2008)

我编写了一个visual c#2008窗体窗体应用程序,然后我编辑了一个拥有visual studio 2010的计算机中的代码,但我无法再在visual 2008中运行它,有没有办法可以做到这一点?


I wrote a visual c# 2008 windows form application ,then i edited the code in a computer which had visual studio 2010,but i can no longer run it in visual 2008,is there a way i can do this?


原文:https://stackoverflow.com/questions/2688191
更新时间:2023-06-20 14:06

最满意答案

我向大家道歉,你必须使用-I忽略二进制文件。 那些是正在返回的文件。 直到我删除-l ,我才意识到这一点,这表明结果本质上是二元的。

grep -rlI '`' ./*

从手册页:

   -I     Process a binary file as if it did not contain  matching  data;
          this is equivalent to the --binary-files=without-match option.

My apologies everyone, you have to use -I to ignore binary files. Those were the files that were being returned. I didn't realize this until I removed -l, which indicated to me that the results were binary in nature.

grep -rlI '`' ./*

From the man page:

   -I     Process a binary file as if it did not contain  matching  data;
          this is equivalent to the --binary-files=without-match option.

相关问答

更多
  • 我向大家道歉,你必须使用-I忽略二进制文件。 那些是正在返回的文件。 直到我删除-l ,我才意识到这一点,这表明结果本质上是二元的。 grep -rlI '`' ./* 从手册页: -I Process a binary file as if it did not contain matching data; this is equivalent to the --binary-files=without-match option. My apologies eve ...
  • 尝试使用GNU parallel ,其中包括一个如何使用grep的例子 : grep -r通过目录递归递归。 在多核CPU上,GNU parallel可以加快速度。 find . -type f | parallel -k -j150% -n 1000 -m grep -H -n STRING {} 这将运行每个核心1.5个工作,并给出1000个参数grep 。 对于大文件,它可以使用--pipe和--block参数将输入分成几个块: parallel --pipe --block 2M grep fo ...
  • 转义它们会激活它们的元字符属性并将它们转换为GNU grep中的单词边界: $ grep 'foo' file foo foobar $ grep '\' file foo 上面的第二个grep没有查找字符串 ,它正在寻找字符串foo不会在字构成字符之前或之后立即成功。 一般来说,如果不确切知道这意味着什么,就逃脱角色是不安全的。 这是另一个例子: $ printf 'aa\na{2}b\n' aa a{2}b $ printf 'aa\na{2}b\n' ...
  • grep -B3 'Max_value: \(127\|32767\)' proc_*.* grep -B3 'Max_value: \(127\|32767\)' proc_*.*
  • 如果这些是您需要搜索的唯一字符串,请使用-F (grep表示固定字符串): grep -F "directory1 directory2 directory3" file.txt 如果你想使用更高级的正则表达式grep,请使用-E (使用扩展正则表达式): grep -E 'directory[1-3]' file.txt 请注意,某些grep (如GNU grep)不需要-E来运行此示例。 最后,请注意您需要引用正则表达式。 如果不这样做,你的shell可能会首先根据路径名扩展扩展正则表达式(例如,如 ...
  • 这可行: comm -1 -3 <(sort file_1) <(sort file_2) 测试: [jaypal:~/Temp] comm -1 -3 <(sort file_1) <(sort file_2) F-J5-N2 F-J5-N3 F-J6-N1 F-J6-N2 F-J6-N3 F-J6-N4 F-J6-N5 F-J6-N6 F-J6-N7 F-J6-N8 F-J8-N1 F-J9-N1 F-J9-N2 更新: [jaypal:~/Temp] cat ff1 E-J1-N4 D-J5-N7 ...
  • 这似乎很好。 也许你可以在dup2之后关闭一些fds: // in child process dup2(fd[0], STDIN_FILENO); close(fd[0]); close(fd[1]); 编辑: 似乎有拼写错误: "/bin/grep/" 它应该是: "/bin/grep" It seems to be quite OK. Maybe you could close some fds after dup2: // in child process dup2(fd[0], STDIN_FI ...
  • 在Gnu Awk中,您可以使用\<和\>来匹配单词的开头和结尾,所以 gawk '/\/{++i} END{print i}' 会做同样的事情 grep -wc 'GOOD' file 如果你想计算GOOD这个词的出现总数(不仅是行数,还有给定行/记录中的出现次数),你可以在Gnu Awk版本4中使用FPAT , gawk 'BEGIN { FPAT="\\"; RS="^$" } { print NF }' file 如果要计算给定记录中短语GOOD DI的完全匹配数, ...
  • grep有-c选项只打印事件,你应该利用它而不是产生另一个进程和一个匿名管道: grep -c '' file.txt 要从两次搜索中减去计数,您可以使用命令替换直接减去它们: echo $(( $(grep -c '' file.txt) - $(grep -c '' file.txt) )) 如果您喜欢,也可以使用两个变量: count_1=$(grep -c '' file.txt) count_2=$(grep ...
  • 在${CONFIG_FILE}之后,我没有看到x任何目的。 也许有一个早期版本的脚本,他们没有引用变量,所以他们写道 echo -e ${CONFIG_FILE}x 在这种情况下,即使变量为空, x确保有一个echo参数。 但引号解决了这个问题,因此不再需要x 。 grep -q "^-"测试输入的第一个字母是否为- 。 正则表达式^匹配行的开头,并且-匹配自身。 -q选项告诉grep不打印匹配行,它只是根据它是否匹配来设置其退出状态。 I don't see any purpose to the x a ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)